package com.fenye.testflow.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fenye.testflow.model.dto.LoginDto;
import com.fenye.testflow.model.entity.system.SysUser;
import com.fenye.testflow.model.entity.system.SysUserRole;
import com.fenye.testflow.model.vo.LoginVo;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;


public interface SysUserService extends IService<SysUser> {
    LoginVo login(LoginDto loginDto);

    SysUser getUserInfo(String token);

    Boolean saveUserRole(SysUserRole sysUserRole);

    List<SysUser> getUserForRoleList(String roleId);
}
